ThirstyAffiliates\Models\Affiliate_Link_Attachment S

Total Complexity 42
Dependencies 4
Dependents 1
Total lines 369
Lines of code 140
Logical lines of code 94
Comment lines 140
Methods 11
Properties 4

Methods 11

Method Rating Maintainability Complexity Lines of code
ajax_insert_external_image()
A
46 10 33
ajax_add_attachments_to_affiliate_link()
A
48 9 29
ajax_remove_attachment_to_affiliate_link()
A
51 8 22
remove_attachment_to_affiliate_link()
S
61 3 11
add_attachments_to_affiliate_link()
S
62 3 10
current_screen_filter()
S
69 3 6
get_instance()
S
72 2 5
__construct()
S
71 1 6
restrict_file_upload_to_images_only()
S
64 1 10
initialize()
S
72 1 5
run()
S
79 1 3